/**
 * Written by Timbot
 * V1.0, June 2007
 */
package com.as3.timbot.mvc
{
	public interface IView
	{
	/**
	* Sets the model this view is observing.
	*/
	function setModel (m:IModel):void;

	/**
	* Returns the model this view is observing.
	*/
	function getModel ():IModel;

	/**
	* Sets the controller for this view.
	*/
	function setController (c:IController):void;

	/**
	* Returns this view's controller.
	*/
	function getController ():IController;

	/**
	* Returns the default controller for this view.
	*/
	function defaultController (model:IModel):IController;
	}
}